<!-- jQuery Version 1.11.0 -->
<script src="//cdn.bootcss.com/jquery/1.12.0/jquery.min.js"></script>

<!-- Plugin JavaScript -->
<script src="//cdn.bootcss.com/jquery-easing/1.3/jquery.easing.min.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="//cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

<script src="//cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="//cdn.bootcss.com/prism/1.4.1/prism.min.js"></script>
<script src="//cdn.bootcss.com/prism/1.4.1//components/prism-java.min.js"></script>
<script src="//cdn.bootcss.com/prism/1.4.1//components/prism-sql.min.js"></script>
<script src="//cdn.bootcss.com/prism/1.4.1//components/prism-groovy.min.js"></script>
<script src="//cdn.bootcss.com/prism/1.4.1//components/prism-yaml.min.js"></script>
{{ if isset .Params "chart" }}
<script src="//cdn.bootcss.com/moment.js/2.11.1/moment.min.js"></script>
<script src="//cdn.bootcss.com/Chart.js/2.0.0-beta2/Chart.min.js"></script>
<script src="{{ .Site.BaseURL }}data/chart.js"></script>
<script>
    $("canvas").each(function(){
        var data =  chartData[$(this).attr("id")];
        $(data.datasets).each(function(index, obj){
            $.extend(obj, charStyle[index])
        });
        new Chart(this.getContext("2d"),{
            type: 'line',
            data: data
        });
    })
</script>

{{ end }}
